package com.bingbing.back.mapper;

import com.bingbing.back.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {
    int deleteByPrimaryKey(Integer stuId);

    int insert(User user);

    int insertSelective(User user);

    User selectByPrimaryKey(Integer stuId);

    List<User> selectAll();


    int updateByPrimaryKeySelective(User user);

    int updateByPrimaryKey(User user);

    String selectByName(String stuName);

    List<User> getCloudList(@Param("list") List<Integer> list);

    User selectUserByName(@Param("stuName") String stuName);
}
